package com.heaven.thread;

import java.util.concurrent.Callable;

public class Task implements Callable<Integer>{

    @Override
    public Integer call() throws Exception {
        for(int i=0;i<10;i++){
            System.out.println(Thread.currentThread()+" : "+i);
        }
        return null;
    }
}
